import * as $echarts from 'echarts'
import type { App } from 'vue'
import VueEcharts from 'vue-echarts' //这个就是那个vue-echarts插件

// 注册一个全局的组件
const vueEcharts = (app: App) => {
  app.component('v-chart', VueEcharts)
}

export { $echarts, vueEcharts }
